package com.springBoot.springBootSysCore.modules.services;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface SysAppLoginService {

	Map<String, Object> getCurSysTimestamp(String phone);

	Map<String, Object> getMsgCode(String phone, String msgCodeType, String secret)throws Exception;

	Map<String, Object> register(String phone, String msgCode, String passWord);

	Map<String, Object> updateForgetPwd(String phone, String msgCode, String passWord);

	Map<String, Object> login(String phone, String msgCode,String passWord);

	Map<String, Object> uploadPhoto(String userId, HttpServletRequest request);

	Map<String, Object> validateCode(String code);

	Map<String, Object> loginOut();

}
